/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.tb_goods.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.tb_goods.dao.TbGoodsDao;
import com.thinkgem.jeesite.modules.tb_goods.entity.TbGoods;

/**
 * 货物Service
 * @author ZhangYangZe
 * @version 2017-05-14
 */
@Service
@Transactional(readOnly = true)
public class TbGoodsService extends CrudService<TbGoodsDao, TbGoods> {

	public TbGoods get(String id) {
		return super.get(id);
	}
	
	public List<TbGoods> findList(TbGoods tbGoods) {
		return super.findList(tbGoods);
	}
	
	public Page<TbGoods> findPage(Page<TbGoods> page, TbGoods tbGoods) {
		return super.findPage(page, tbGoods);
	}
	
	@Transactional(readOnly = false)
	public void save(TbGoods tbGoods) {
		super.save(tbGoods);
	}
	
	@Transactional(readOnly = false)
	public void delete(TbGoods tbGoods) {
		super.delete(tbGoods);
	}
	
	
	
}